home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
X11
/
tclMotif-1.4
/
send
/
Imakefile
< prev
next >
Wrap
Makefile
|
1995-06-29
|
1KB
|
71 lines
INSTALL_DIR=/usr/skunk
BINDIR = $(INSTALL_DIR)/bin
LIBDIR = $(INSTALL_DIR)/lib
USRLIBDIR = $(INSTALL_DIR)/lib
INCDIR = $(INSTALL_DIR)/include/$(PROGRAM)
XAPPLOADDIR = $(INSTALL_DIR)/lib/X11/app-defaults
CONFIGDIR = /usr/lib/X11/config
MKDIRHIER = /bin/sh /usr/bin/X11/mkdirhier
MANDIR = $(INSTALL_DIR)/man/man1
MANSUFFIX = 1
SCRIPTSRC =/usr/bin/X11
/* this version of tclXtSend is based on tk3.2 */
CC = gcc
/* for debugging the library, set these
CDEBUGFLAGS = -g -DDEBUG -DDONT_GRAB_SERVER
*/
CDEBUGFLAGS =
XCOMM TCL_INCLUDE= /usr/local/include
TCL_INCLUDE= ../../tcl-7.3
XCOMM MOTIF_INCLUDE= /usr/local/include
MOTIF_INCLUDE= /usr/include
/* what type of libraries do you want? */
#define DoNormalLib YES
#define DoSharedLib NO
#include <Library.tmpl>
INCLUDES = -I$(TCL_INCLUDE) -I$(MOTIF_INCLUDE)
OBJS = tclXtSend.o
SRCS = tclXtSend.c
#ifndef LibraryObjectRule
#define LibraryObjectRule() /* not found in R4! */
#endif
LibraryObjectRule()
#if DoNormalLib
#if ProjectX < 6 || !DoSharedLib
NormalLibraryTarget(tclXtSend,$(OBJS))
#else
UnsharedLibraryTarget(tclXtSend,$(OBJS),unshared,..)
#endif
InstallLibrary(tclXtSend,$(USRLIBDIR))
#endif
#if DoSharedLib
#if DoNormalLib && (ProjectX < 6)
SharedLibraryTarget(tclXtSend,1.2,$(OBJS),shared,..)
#else
SharedLibraryTarget(tclXtSend,1.2,$(OBJS),.,.)
#endif
InstallSharedLibrary(tclXtSend,1.2, $(USRLIBDIR))
#endif
DependTarget()
MANDIR = $(LIBMANDIR)
MANSUFFIX = $(LIBMANSUFFIX)
InstallManPage(tclXtSend,$(MANDIR))